<?php
use app\library\traits\Json;
use app\library\traits\Restful;
/**
 * @name IndexController
 * @author root
 * @desc 默认控制器
 * @see http://www.php.net/manual/en/class.yaf-controller-abstract.php
 */
class FooController extends \Yaf\Controller_Abstract {

    use Json;
    use Restful;
	public function barAction()
    {
        $this->returnJson(1,'dsagasg');
    }
}
